package  cn.iocoder.yudao.module.nginxui.enums;
import cn.iocoder.yudao.framework.common.exception.ErrorCode;
public interface ErrorCodeConstants {
    // ========== Nginx主配置 ==========
    ErrorCode CONFIG_NOT_EXISTS = new ErrorCode(1_701_000_001, "Nginx主配置不存在");
    ErrorCode CONFIG_ID_REQUIRED = new ErrorCode(1_701_000_002, "Nginx主配置编号不能为空");
    ErrorCode GLOBAL_BLOCK_NOT_EXISTS = new ErrorCode(1_702_000_001, "Nginx全局块配置不存在");
    ErrorCode EVENTS_CONFIG_NOT_EXISTS = new ErrorCode(1_703_000_001, "Nginx events块配置不存在");
    ErrorCode HTTP_CONFIG_NOT_EXISTS = new ErrorCode(1_704_000_001, "Nginx HTTP下的CONFIG块配置不存在");
    ErrorCode HTTP_SERVER_NOT_EXISTS = new ErrorCode(1_705_000_001, "Nginx HTTP下的Server块配置不存在");
    ErrorCode HTTP_LOCATION_NOT_EXISTS = new ErrorCode(1_706_000_001, "Nginx HTTP下的Location块配置不存在");
}